from random import randint
n, m = 100, 1000
print(n)
for i in range(n): print(randint(1, m))
